<?php
defined('ROOTPATH') OR exit('Forbidden');

class con_demo {

    public function test() {
        $demoM = new mod_demo();

        $msg = $demoM->modelTest();
        /**
         * 模板传参示例
         */
        view::assign('msg', $msg);
        view::display('demo/test');
    }
}
